package com.kmist.xiakexing.interfaces;

import com.kmist.xiakexing.utils.scene.PlayerBean;

public interface IPlayerPresenter extends IBasePresenter<IPlayerCallback>{


    void setPlayerDefaultConfig(PlayerBean playerBean);
    String calPlayerSid(String userName, String token); //计算SID

    void addPlayer(PlayerBean playerBean);
    void delPlayer(PlayerBean playerBean);
    void getPlayer();
    void updateOnlineLastTime();

    void getmapPlayer(int mapid);

    PlayerBean getPlayerd(); //返回已经读取到的player；
    boolean isPlayerExist(String sid);
    void changeExp(String sid, int exp); //更新经验值
    void setPlayerSid(String sid);
    String getPlayerSid();

    int getNowmid();


    void changePlayerSx(String mibName, String mibValue, String sid);
}
